<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>Geo3DML-CPP: include/g3dvtk/ShapeHelper.h Source File</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<script type="text/javascript" src="clipboard.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="cookie.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr id="projectrow">
  <td id="projectalign">
   <div id="projectname">Geo3DML-CPP
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "search/",'.html');
/* @license-end */
</script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() { codefold.init(0); });
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function() {
  initMenu('',true,false,'search.php','Search',false);
  $(function() { init_search(); });
});
/* @license-end */
</script>
<div id="main-nav"></div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
$(function(){ initResizable(false); });
/* @license-end */
</script>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<div id="MSearchResults">
<div class="SRPage">
<div id="SRIndex">
<div id="SRResults"></div>
<div class="SRStatus" id="Loading">Loading...</div>
<div class="SRStatus" id="Searching">Searching...</div>
<div class="SRStatus" id="NoMatches">No Matches</div>
</div>
</div>
</div>
</div>

<div id="nav-path" class="navpath">
  <ul>
<li class="navelem"><a class="el" href="dir_d44c64559bbebec7f509842c48db8b23.html">include</a></li><li class="navelem"><a class="el" href="dir_6064c62b02fe9c18fce91bd1b2abc707.html">g3dvtk</a></li>  </ul>
</div>
</div><!-- top -->
<div id="doc-content">
<div class="header">
  <div class="headertitle"><div class="title">ShapeHelper.h</div></div>
</div><!--header-->
<div class="contents">
<a href="_shape_helper_8h.html">Go to the documentation of this file.</a><div class="fragment"><div class="line"><a id="l00001" name="l00001"></a><span class="lineno">    1</span><span class="preprocessor">#pragma once</span></div>
<div class="line"><a id="l00002" name="l00002"></a><span class="lineno">    2</span> </div>
<div class="line"><a id="l00003" name="l00003"></a><span class="lineno">    3</span><span class="preprocessor">#include &lt;<a class="code" href="geo3dml_2_shape_property_8h.html">geo3dml/ShapeProperty.h</a>&gt;</span></div>
<div class="line"><a id="l00004" name="l00004"></a><span class="lineno">    4</span><span class="preprocessor">#include &lt;vtkDataSet.h&gt;</span></div>
<div class="line"><a id="l00005" name="l00005"></a><span class="lineno">    5</span> </div>
<div class="line"><a id="l00006" name="l00006"></a><span class="lineno">    6</span><span class="keyword">namespace </span><a class="code hl_namespace" href="namespaceg3dvtk.html">g3dvtk</a> {</div>
<div class="line"><a id="l00007" name="l00007"></a><span class="lineno">    7</span> </div>
<div class="foldopen" id="foldopen00008" data-start="{" data-end="};">
<div class="line"><a id="l00008" name="l00008"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html">    8</a></span>    <span class="keyword">class </span><a class="code hl_class" href="classg3dvtk_1_1_shape_helper.html">ShapeHelper</a> {</div>
<div class="line"><a id="l00009" name="l00009"></a><span class="lineno">    9</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00010" name="l00010"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html#a54ddf6648453545ab6c6edcda30de2e3">   10</a></span>        <a class="code hl_function" href="classg3dvtk_1_1_shape_helper.html#a54ddf6648453545ab6c6edcda30de2e3">ShapeHelper</a>();</div>
<div class="line"><a id="l00011" name="l00011"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html#aa7d03d47fa7c67ac3effcf40328a0469">   11</a></span>        <span class="keyword">virtual</span> <a class="code hl_function" href="classg3dvtk_1_1_shape_helper.html#aa7d03d47fa7c67ac3effcf40328a0469">~ShapeHelper</a>();</div>
<div class="line"><a id="l00012" name="l00012"></a><span class="lineno">   12</span> </div>
<div class="line"><a id="l00013" name="l00013"></a><span class="lineno">   13</span>    <span class="keyword">public</span>:</div>
<div class="line"><a id="l00014" name="l00014"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html#a76d41dbb1095d5a460107beeadce8496">   14</a></span>        <span class="keywordtype">void</span> <a class="code hl_function" href="classg3dvtk_1_1_shape_helper.html#a76d41dbb1095d5a460107beeadce8496">SetProperty</a>(<a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* prop, <a class="code hl_enumeration" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a> t, <span class="keyword">const</span> std::string&amp; shapeId, vtkDataSet* dataSet);</div>
<div class="line"><a id="l00015" name="l00015"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html#ad587d6c5767de0a5670a9c231feddb0e">   15</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* <a class="code hl_function" href="classg3dvtk_1_1_shape_helper.html#ad587d6c5767de0a5670a9c231feddb0e">GetProperty</a>(<a class="code hl_enumeration" href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a> t, <span class="keyword">const</span> std::string&amp; shapeId, vtkDataSet* dataSet) <span class="keyword">const</span>;</div>
<div class="line"><a id="l00016" name="l00016"></a><span class="lineno">   16</span> </div>
<div class="line"><a id="l00017" name="l00017"></a><span class="lineno">   17</span>    <span class="keyword">private</span>:</div>
<div class="line"><a id="l00018" name="l00018"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html#afb894e45485ff764f33cb6d3d6e42d39">   18</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* <a class="code hl_variable" href="classg3dvtk_1_1_shape_helper.html#afb894e45485ff764f33cb6d3d6e42d39">vertexProperty_</a>;</div>
<div class="line"><a id="l00019" name="l00019"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html#a42792850a056f516597d1bd4e3364c13">   19</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* <a class="code hl_variable" href="classg3dvtk_1_1_shape_helper.html#a42792850a056f516597d1bd4e3364c13">voxelProperty_</a>;</div>
<div class="line"><a id="l00020" name="l00020"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html#ab3d7e6ef591e74ac722ac7d6fe22c3c3">   20</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* <a class="code hl_variable" href="classg3dvtk_1_1_shape_helper.html#ab3d7e6ef591e74ac722ac7d6fe22c3c3">edgeProperty_</a>;</div>
<div class="line"><a id="l00021" name="l00021"></a><span class="lineno"><a class="line" href="classg3dvtk_1_1_shape_helper.html#a2afe427779eb94650f57220c9a450a9c">   21</a></span>        <a class="code hl_class" href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a>* <a class="code hl_variable" href="classg3dvtk_1_1_shape_helper.html#a2afe427779eb94650f57220c9a450a9c">faceProperty_</a>;</div>
<div class="line"><a id="l00022" name="l00022"></a><span class="lineno">   22</span>    };</div>
</div>
<div class="line"><a id="l00023" name="l00023"></a><span class="lineno">   23</span>}</div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html">g3dvtk::ShapeHelper</a></div><div class="ttdef"><b>Definition</b> ShapeHelper.h:8</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html_a2afe427779eb94650f57220c9a450a9c"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html#a2afe427779eb94650f57220c9a450a9c">g3dvtk::ShapeHelper::faceProperty_</a></div><div class="ttdeci">geo3dml::ShapeProperty * faceProperty_</div><div class="ttdef"><b>Definition</b> ShapeHelper.h:21</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html_a42792850a056f516597d1bd4e3364c13"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html#a42792850a056f516597d1bd4e3364c13">g3dvtk::ShapeHelper::voxelProperty_</a></div><div class="ttdeci">geo3dml::ShapeProperty * voxelProperty_</div><div class="ttdef"><b>Definition</b> ShapeHelper.h:19</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html_a54ddf6648453545ab6c6edcda30de2e3"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html#a54ddf6648453545ab6c6edcda30de2e3">g3dvtk::ShapeHelper::ShapeHelper</a></div><div class="ttdeci">ShapeHelper()</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html_a76d41dbb1095d5a460107beeadce8496"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html#a76d41dbb1095d5a460107beeadce8496">g3dvtk::ShapeHelper::SetProperty</a></div><div class="ttdeci">void SetProperty(geo3dml::ShapeProperty *prop, geo3dml::ShapeProperty::SamplingTarget t, const std::string &amp;shapeId, vtkDataSet *dataSet)</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html_aa7d03d47fa7c67ac3effcf40328a0469"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html#aa7d03d47fa7c67ac3effcf40328a0469">g3dvtk::ShapeHelper::~ShapeHelper</a></div><div class="ttdeci">virtual ~ShapeHelper()</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html_ab3d7e6ef591e74ac722ac7d6fe22c3c3"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html#ab3d7e6ef591e74ac722ac7d6fe22c3c3">g3dvtk::ShapeHelper::edgeProperty_</a></div><div class="ttdeci">geo3dml::ShapeProperty * edgeProperty_</div><div class="ttdef"><b>Definition</b> ShapeHelper.h:20</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html_ad587d6c5767de0a5670a9c231feddb0e"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html#ad587d6c5767de0a5670a9c231feddb0e">g3dvtk::ShapeHelper::GetProperty</a></div><div class="ttdeci">geo3dml::ShapeProperty * GetProperty(geo3dml::ShapeProperty::SamplingTarget t, const std::string &amp;shapeId, vtkDataSet *dataSet) const</div></div>
<div class="ttc" id="aclassg3dvtk_1_1_shape_helper_html_afb894e45485ff764f33cb6d3d6e42d39"><div class="ttname"><a href="classg3dvtk_1_1_shape_helper.html#afb894e45485ff764f33cb6d3d6e42d39">g3dvtk::ShapeHelper::vertexProperty_</a></div><div class="ttdeci">geo3dml::ShapeProperty * vertexProperty_</div><div class="ttdef"><b>Definition</b> ShapeHelper.h:18</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_shape_property_html"><div class="ttname"><a href="classgeo3dml_1_1_shape_property.html">geo3dml::ShapeProperty</a></div><div class="ttdoc">几何对象关联的属性场。 @detials 属性场的定义域可以是几何对象的顶点集、边集、面片集或者体元集；其值域可以包含多个属性字段。属性字段规定了其取值类型、无效值等信息。 ShapeProperty ...</div><div class="ttdef"><b>Definition</b> ShapeProperty.h:12</div></div>
<div class="ttc" id="aclassgeo3dml_1_1_shape_property_html_ab000da11fd54f0f7ec1fdffd2a1c8366"><div class="ttname"><a href="classgeo3dml_1_1_shape_property.html#ab000da11fd54f0f7ec1fdffd2a1c8366">geo3dml::ShapeProperty::SamplingTarget</a></div><div class="ttdeci">SamplingTarget</div><div class="ttdoc">属性场在几何对象上的采样位置。</div><div class="ttdef"><b>Definition</b> ShapeProperty.h:15</div></div>
<div class="ttc" id="ageo3dml_2_shape_property_8h_html"><div class="ttname"><a href="geo3dml_2_shape_property_8h.html">ShapeProperty.h</a></div></div>
<div class="ttc" id="anamespaceg3dvtk_html"><div class="ttname"><a href="namespaceg3dvtk.html">g3dvtk</a></div><div class="ttdef"><b>Definition</b> Actor.h:13</div></div>
</div><!-- fragment --></div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by&#160;<a href="https://www.doxygen.org/index.html"><img class="footer" src="doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0
</small></address>
</div><!-- doc-content -->
</body>
</html>
